package com.d3works.apps.businessproject.db.repo;

import com.d3works.apps.hr.db.repo.ProjectTaskHRRepository;
import com.d3works.apps.project.db.ProjectTask;

public class ProjectTaskBusinessProjectRepository extends ProjectTaskHRRepository {

  @Override
  public ProjectTask copy(ProjectTask entity, boolean deep) {
    ProjectTask task = super.copy(entity, deep);
    task.setSaleOrderLine(null);
    task.setInvoiceLine(null);
    return task;
  }
}
